import Taro, { Component } from '@tarojs/taro'
import { View, Text,Image } from '@tarojs/components'
import './personaldetail.css'
import { getGlobalData} from '../../../global';
import reactMixin from 'react-mixin';
import myJs from '../../pages/personaldetail/personaldetailjs.js'
import app from '../../../main.js'

export default class PersonalDetail extends Component {

  config = {
    navigationBarTitleText: '个人详情'
  }
  constructor () { 
        super(...arguments); 
        this.state = this.getData(); 
    }
  componentWillMount () { }

  componentDidMount () { }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

  render () {
    return (
      <View className='personal-detail'> 
       <View className='card'>
        <View className='gray-text'>微信扫一扫关注刘半仙医生</View>
        <View className='gray-text'>随时随地都能问医生</View>
        <View className='footer'><Image className='img' src={getGlobalData('baseurl')+'img/erwei.png'}></Image></View>
        <View className='gray-text my-name'>刘半仙</View>
        <View className='gray-text'>主任医师 | 综合眼科</View>
        <View className='gray-text last-text'>中山奥里德眼科医院</View>
        </View>
        {/* <View className='btn-box at-row at-row__justify--around'>
    <View className='at-col at-col-5'><AtButton className='btn del-btn'>删除标签</AtButton></View>
    <View className='at-col at-col-5'><AtButton className='btn save-btn'>保存标签</AtButton></View>
    </View> */}
      </View>
    )
  }
}
reactMixin.onClass(PersonalDetail,myJs);
